<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
    <head>
        <?php echo $this->headTitle() ?>
        <?php echo $this->headScript() ?>
        <?php echo $this->headStyle() ?>
        <?php echo $this->headLink() ?>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="<?php echo $this->baseUrlCss?>main.css"
              media="screen"
              rel="stylesheet"
              type="text/css" />
    </head>
    <body>
        <div id="panel">
            <?php echo $this->username?>
            <a href="<?php echo $this->url(array('path' => 'logout'))?>">
                abmelden
            </a>
            <a href="<?php echo $this->url(array('path' => '', 'param' => ''))?>">
                start
            </a>
        </div>
        <?php if ($this->app) : ?>
            <?php echo $this->action($this->action, 'admin', $this->app)?>
        <?php else : ?>
            <?php echo $this->layout()->content ?>
        <?php endif;?>
    </body>
</html>